package com.cash.loan.modular.cash.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 渠道ui表
 * </p>
 *
 * @author yangbo123
 * @since 2018-08-01
 */
@TableName("channel_ui")
public class ChannelUi extends Model<ChannelUi> {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 渠道名称
     */
    private String channelName;
    /**
     * 渠道编号
     */
    private String channelCode;
    /**
     * app版本 默认v1.0
     */
    private String appVersion;
    /**
     * UI类型 0用户UI 1送审UI
     */
    private Long uiType;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date modifyTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public Long getUiType() {
        return uiType;
    }

    public void setUiType(Long uiType) {
        this.uiType = uiType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ChannelUi{" +
        "id=" + id +
        ", channelName=" + channelName +
        ", channelCode=" + channelCode +
        ", appVersion=" + appVersion +
        ", uiType=" + uiType +
        ", createTime=" + createTime +
        ", modifyTime=" + modifyTime +
        "}";
    }
}
